package com.netty.modbus.dto.response;

import io.netty.buffer.ByteBuf;

/**
 * description: 注册消息体：字节数为131 <br>
 * date: 2021/9/29 9:41 <br>
 *
 * @author: lwy <br>
 * version: 1.0 <br>
 */
public class DataUpBody extends ResponseBody {
    private final int BYTE_LENGTH = 397;

    @Override
    public void decode(byte[]  data) {
        this.commDecode(BYTE_LENGTH,data);
    }

    @Override
    public ByteBuf encode() {
        return this.commEncode(null);
    }





}
